<% form_for [:admin,@league] do |f| %>
<p>
<label>name</label>
<%= f.text_field :name %>
</p>


<p>
<label>country</label>
<%= f.collection_select :country_id,Country.all,:id,:name %>
</p>

<p>
<label>sport</label>
<%= f.collection_select :sport_id,Sport.all,:id,:name %>
</p>


<p>
<label>&nbsp;</label>
<%= submit_tag "Sumbit",:class=>"button" %>
</p>

<% end %>
